#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <imageWidget.h>
#include <QHBoxLayout>

namespace Ui {
  class MainWindow;
}

class MainWindow : public QMainWindow {
  Q_OBJECT
  const int Timeout = 5000;
public:
  explicit MainWindow(QWidget *parent = 0);
  ~MainWindow();
  void commandLine(int argc, char *argv[]);
  void openFiles( QStringList &files );
private slots:
  void on_actionOpen_Image_triggered();
  void dropEvent(QDropEvent* event);
  void dragEnterEvent(QDragEnterEvent * event);

  void on_actionOpen_Dicomdir_triggered();

private:
  Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
